﻿#pragma once
#include "Interpolator.h"
#include "array/Array.hpp"
#include <initializer_list>

namespace yzrilyzr_interpolator{
	ECLASS(GraphInterpolator, public Interpolator){
	public:
	yzrilyzr_array::DoubleArray xys;
	~GraphInterpolator();
	GraphInterpolator(){}
	GraphInterpolator(yzrilyzr_array::DoubleArray xys);
	GraphInterpolator(std::initializer_list<double> xys);
	u_normal_01 y(u_normal_01 x) override;
	yzrilyzr_lang::String toString() const override;
	};
}